equals

open operator override fun equals(other: Any?): Boolean(source)

The JS SDK creates a new object per call, so queries are equal when they are of the same location and constraints.